package com.evolution.warlock.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.evolution.warlock.dao.RobStealDao;
import com.evolution.warlock.entity.CivilDispute;
import com.evolution.warlock.entity.RobSteal;
import com.evolution.warlock.service.RobStealService;

@Service("robStealServiceImpl")
public class RobStealServiceImpl extends BaseServiceImpl<RobSteal, Long> implements RobStealService {

	@Resource(name = "robStealDaoImpl")
	private RobStealDao robStealDao;
	
	@Resource(name = "robStealDaoImpl")
	public void setBaseDao(RobStealDao robStealDao) {
		super.setBaseDao(robStealDao);
	}
	
	@Transactional(readOnly = true)
	public RobSteal findRobSteal(Long criminalNumber) {
		return robStealDao.findRobSteal(criminalNumber);
	}
}
